package net.flowas.genericcrud.audit;

import java.util.List;


public class TreeWrapper<T> {
  private String id;
  private String parentId;
  private String parentName;
  private T text;
  private String state;// = "open";// open,closed
  private boolean checked = false;
  private Object attributes;
  private List<TreeWrapper> children;
  
  public String getId() {
    return id;
  }
  
  
  public void setId(String id) {
    this.id = id;
  }
  
  public T getText() {
    return text;
  }
  
  public void setText(T text) {
    this.text = text;
  }
  
  public String getState() {
    return state;
  }
  
  public void setState(String state) {
    this.state = state;
  }
  
  public boolean isChecked() {
    return checked;
  }
  
  public void setChecked(boolean checked) {
    this.checked = checked;
  }
  
  public List<TreeWrapper> getChildren() {
    return children;
  }
  
  public void setChildren(List<TreeWrapper> children) {
    this.children = children;
  }


  public Object getAttributes() {
    return attributes;
  }


  public void setAttributes(Object attributes) {
    this.attributes = attributes;
  }


  public String getParentId() {
    return parentId;
  }


  public void setParentId(String parentId) {
    this.parentId = parentId;
  }


public String getParentName() {
	return parentName;
}


public void setParentName(String parentName) {
	this.parentName = parentName;
}
  
}
